package com.lightjet.macross.base.upms.service;

import com.lightjet.macross.base.upms.domain.ApiRules;
import com.lightjet.macross.common.core.BaseService;
import com.lightjet.macross.common.dto.ResponseDTO;

import java.util.List;

public interface ApiRulesService extends BaseService<ApiRules,Integer> {

    List<ApiRules> FindByFilters(String servicename, String apiuri, String clients);

    ApiRules FindByServicenameAndApiuri(String servicename, String apiuri);

    ApiRules FindDistinctById(Integer id);

    List<ApiRules> FindByServicenameAndIsenableAndRuletype(String servicename, byte isenable, byte ruletype);

    ApiRules FindByUri(String servicename, String acturi);

    ResponseDTO<String> ClearRuleCache();

}
